package com.renli.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Event {

  private Integer id;
  private String name;
  private Integer userId;
  @JsonFormat(pattern ="yyyy-MM-dd")
  private Date creatTime;
  @JsonFormat(pattern ="yyyy-MM-dd")
  private Date deadTime;
  @JsonFormat(pattern ="yyyy-MM-dd")
  private Date handlingTime;
  private Integer state;
  private Integer urgent;
  private String opinion;
  private Integer eventTypeId;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Date getDeadTime() {
    return deadTime;
  }

  public void setDeadTime(Date deadTime) {
    this.deadTime = deadTime;
  }


  public Date getHandlingTime() {
    return handlingTime;
  }

  public void setHandlingTime(Date handlingTime) {
    this.handlingTime = handlingTime;
  }


  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }


  public Integer getUrgent() {
    return urgent;
  }

  public void setUrgent(Integer urgent) {
    this.urgent = urgent;
  }


  public String getOpinion() {
    return opinion;
  }

  public void setOpinion(String opinion) {
    this.opinion = opinion;
  }


  public Integer getEventTypeId() {
    return eventTypeId;
  }

  public void setEventTypeId(Integer eventTypeId) {
    this.eventTypeId = eventTypeId;
  }

}
